//
//  STOrderListView.h
//  store
//
//  Created by zhouzhouzhou on 2018/9/27.
//  Copyright © 2018年 zhou. All rights reserved.
//

#import <UIKit/UIKit.h>


@class STOrderListView;
@protocol STOrderListViewDelegate <NSObject>
@optional
//返回点击
-(void)orderListViewSelIndexPath:(NSIndexPath *)indexPath;
-(void)orderListViewDetailSection:(NSInteger)section;
//上划加载更多
-(void)orderListViewAddMoreData;
//下拉刷新
-(void)orderListViewLoadNewData;
@end

@interface STOrderListView : UIView<UITableViewDelegate,UITableViewDataSource>{
    UITableView *orderListView;
    CGRect tableFrame;
}

@property(nonatomic,strong)NSArray * orderListArr;
@property (nonatomic,assign)NSInteger selType;
@property(nonatomic,weak)id<STOrderListViewDelegate> orderDelegate;

-(void)loadOrderListView;
-(void)endRefresh;

@end
